using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Condition09-放置的棋子是自己", menuName = "Skill/Condition/Condition09-放置的棋子是自己", order = 9)]
public class Condition09 : ConditionBase
{
    public override bool Evaluate(Pair pair,GameEvent e)
    {
        if (e is not PlacedEvent placedEvent) return false;
        return placedEvent.PlacedChess == pair.Chess;
    }
}